package org.zizi.db.column.impl;

import java.sql.ResultSet;
import java.util.Date;

import org.zizi.db.column.AbstractColumnReader;

public class DateColumnReader extends AbstractColumnReader
{
	public Date read(ResultSet rs, int column) throws Exception
	{
		Date d = rs.getTimestamp(column);
		if (d == null) return null;

		return new Date(d.getTime());
	}
}
